﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SDT.Lib.Paging;
using SDT.Model;

namespace SDT.Site.ViewModels
{
    public class VideoDetailViewModels
    {
        public Video Video { get; set; }
        public IList<Video> Videos { get; set; }
        public string VideoImagePath { get; set; }
        public string VideoImageUrl { get; set; }
        public string VideoFilePath { get; set; }
        public string VideoFileUrl { get; set; }
    }

    public class VideoIndexViewModels
    {
        public IList<Video> Videos { get; set; }

        public List<VideoCategory> Categories
        {
            get;
            set;
        }

        public VideoCategory Category
        {
            get;
            set;
        }

        public string VideoImagePath { get; set; }
        public string VideoImageUrl { get; set; }
        public string VideoFilePath { get; set; }
        public string VideoFileUrl { get; set; }

        public List<Video> VideoNewest
        {
            get;
            set;
        }

        //public List<VideoCategoryItem> VideoItem
        //{
        //    get;
        //    set;
        //}
    }

    /// <summary>
    /// Author: Takamaru Nguyen
    /// Date: 05/08/2011
    /// </summary>
    public class VideoListViewModel
    {
        public VideoListViewModel()
        {
            // Nothing to do in here.
            // Because of this method is constructor.
        }

        public VideoCategory Category
        {
            get;
            set;
        }

        public Video Video
        {
            get;
            set;
        }

        public IPagedList<Video> Videos
        {
            get;
            set;
        }

        public string VideoImagePath 
        { 
            get; 
            set; 
        }

        public string VideoImageUrl
        { 
            get; 
            set; 
        }

        public string VideoFilePath 
        { 
            get; 
            set; 
        }

        public string VideoFileUrl 
        { 
            get; 
            set; 
        }

        public Comment Comment
        {
            get;
            set;
        }

        public IPagedList<Comment> Comments
        {
            get;
            set;
        }
    }
}
